package com.baosight.risk.api.quartz;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.quartz.entity.SyncEmpleeEntitiy;
import com.baosight.risk.service.quartz.entity.SyncOrgEntitiy;
import com.baosight.risk.service.quartz.entity.SysJob;
import com.baosight.risk.service.xtzy.entity.XtzyCompany;

import java.util.List;

/**
 * @author CuiShiHao
 * <p>
 * 定时任务，同步组织接口
 */
public interface ISysSyncOrgService {
    /**
     * @param orgList 组织列表
     * @return
     * @description 向系统同步组织数据
     * @author CuiShiHao
     */
    void batchInsertUserList(List<XtzyCompany> orgList);

    /**
     * @return
     * @description 从dbprodk5中拉取父节点在orgCodeList中数据
     * @author CuiShiHao
     */
    void getOrgFromOtherDB(String params, String jobId) throws Exception;

    /**
     * 从EHR同步组织机构到风控系统
     */
    void doUpgradeOrg(String params, String jobId) throws Exception;

}
